/***************************************
 2010-4-27
****************************************/
package com.happy.common.job;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;

public class TimmerJob {
	@Autowired
	private SchedulerFactoryBean schedule;
	/**默认无参构造函数**/
	public TimmerJob() {
	}
	public void execute()
	{
		System.out.println(schedule==null);
		System.out.println("TimmerJob execute ........");
	}
	public SchedulerFactoryBean getSchedule() {
		return schedule;
	}
	public void setSchedule(SchedulerFactoryBean schedule) {
		this.schedule = schedule;
	}
}
